package com.j180.bean;

import java.util.List;

public class TeacherBean {

    private Integer id;

    private String name;

    private List<ClassBean> classBeans;

    public TeacherBean(Integer id, String name, List<ClassBean> classBeans) {
        this.id = id;
        this.name = name;
        this.classBeans = classBeans;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ClassBean> getClassBeans() {
        return classBeans;
    }

    public void setClassBeans(List<ClassBean> classBeans) {
        this.classBeans = classBeans;
    }

    @Override
    public String toString() {
        return "TeacherBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", classBeans=" + classBeans +
                '}';
    }
}
